* {
    padding: 0;
    margin: 0;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;

    // justify-content: center;
    .y1 {
        color: red;
        font-size: 30px;
        background-color: rosybrown;
    }

    .main {
        width: 340px;
        display: flex;
        flex-direction: column;

        // justify-content: space-between;
        .singleCommodity {
            width: 340px;
            // height:120px ;
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;

            .singleCheck {
                width: 40px;
                height: 40px;
                border-radius: 2px;
                margin-top: 50px;
                margin-right: 5px;
            }

            .commodityImages {
                img {
                    width: 120px;
                    height: 120px;
                }

            }

            .commodityDetails {
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                font-size: 12px;

                .name {
                    color: salmon;
                    font-size: 16px;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 2;
                    overflow: hidden;
                }

                div {
                    display: flex;

                    p {
                        margin-right: 20px;

                        button {
                            width: 12px;
                        }

                        input {
                            width: 30px;
                            text-align: center;
                        }
                    }
                }
            }
        }

        .deletes {
            color: blueviolet;
            font-size: 12px;
            background-color: brown;
            margin-top: 10px;
        }
    }

    .totalPrice {
        position: fixed;
        bottom: 50px;
        left: 50%;
        margin-left: -170px;
        width: 340px;
        font-size: 16px;
        background-color: rgb(28, 202, 115, );

        .allCheck {
            width: 20px;
            height: 20px;
        }

        span {
            font-size: 20px;
            color: red;
        }
    }

    .foot {
        height: 50px;
        width: 340px;
        position: fixed;
        bottom: 0;
        left: 50%;
        margin-left: -170px;
        display: flex;
        justify-content: space-between;
        background-color: #fdde4a;
       
    }
}